import React from 'react';
import WeUI from 'react-weui';

const {
    Panel, 
    PanelBody
} = WeUI;

import BDBookitem from './book/bookitem';

export default class BDOrder extends React.Component{
    render(){
        let items = [1, 2, 3, 4, 5, 6, 7, 8, 9]
        return (
            <Panel>
                <PanelBody>
                    {
                        items.map((item, i) =>{
                            return (
                                <BDBookitem key={i} history={this.props.history} />
                            )
                        })
                    }
                </PanelBody>
            </Panel>
        );
    }
}